﻿using System.Data.Entity.ModelConfiguration;
using eCommerce.Core.Domain.Blogs;

namespace eCommerce.Data.Mapping.Blogs
{
    public class BlogMapping: EntityTypeConfiguration<Blog>
    {
        public BlogMapping()
        {
            this.ToTable("Blogs");
            this.HasKey(a => a.Id);

        }
    }
}